import { Navigate } from "react-router-dom";
	import Home from "../view/home/home"
	import Garden from "../view/garden/garden"
	import District from "../view/district/district"
	export default [
		 
		{
			path: '/garden',
			element: <Garden />
		},
        {
			path: '/district',
			element: <District />
		},
		{
			path: "/",
			// 路由重定向, 借助Navigate组件跳转
			element: <Navigate to="/home" replace/>
		}
	]